package com.gitee.aurora.job.vo;

import com.balloon.springboot.core.utils.PageInfo;


import javax.persistence.Id;

/**
 * @author liaofuxing
 */

public class QuartzJobVo extends PageInfo {

	@Id
	private Integer id;

	/**
	 * 任务名称
	 */
	private String jobName;

	/**
	 * 任务分组
	 */
	private String jobGroup;

	/**
	 * 任务描述
	 */
	private String description;

	/**
	 * 执行类
	 */
	private String jobClassName;

	/**
	 * 执行时间, cron 表达式
	 */
	private String cronExpression;
//	private String triggerName;//执行时间

	/**
	 * 任务状态
	 */
	private String triggerState;

	private String oldJobName;//任务名称 用于修改
	private String oldJobGroup;//任务分组 用于修改

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getJobGroup() {
		return jobGroup;
	}

	public void setJobGroup(String jobGroup) {
		this.jobGroup = jobGroup;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getJobClassName() {
		return jobClassName;
	}

	public void setJobClassName(String jobClassName) {
		this.jobClassName = jobClassName;
	}

	public String getCronExpression() {
		return cronExpression;
	}

	public void setCronExpression(String cronExpression) {
		this.cronExpression = cronExpression;
	}

	public String getTriggerState() {
		return triggerState;
	}

	public void setTriggerState(String triggerState) {
		this.triggerState = triggerState;
	}

	public String getOldJobName() {
		return oldJobName;
	}

	public void setOldJobName(String oldJobName) {
		this.oldJobName = oldJobName;
	}

	public String getOldJobGroup() {
		return oldJobGroup;
	}

	public void setOldJobGroup(String oldJobGroup) {
		this.oldJobGroup = oldJobGroup;
	}
}
